FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.7.16  |  FHIR Version n/a  User: [n/a]

Resource OperationDefinition/FHIR Server from package dk.ehealth.sundhed.fhir.ig.core#current (78 ms)

Package dk.ehealth.sundhed.fhir.ig.core
Type OperationDefinition
Id Id
FHIR Version R4
Source http://ehealth.sundhed.dk/fhir/https://build.fhir.org/ig/fut-infrastructure/implementation-guide/OperationDefinition-ehealth-patient-create.html
Url http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-patient-create
Version 3.5.1
Status active
Date 2019-02-02
Name Create Patient
Experimental False
Realm dk
Description Creates a Patient resource on the server and returns it in the response. If the patient already exists, it is returned instead. If the CPR number does not match a patient on the service, looks up the CPR in the national registry and finds any potential prior CPRs used by the person. If a prior CPR number matches a patient on the service, updates the patient with national data, and returns a patient with the newest data. NOTE: This means that the returned patient can have a different identifier than the one used for the request. If no prior CPR matches, creates a new patient using national data. If the CPR is invalid, i.e. does not correspond to a patient on the national registry, it errors. ### Note This operation is currently the only way to create Patient resources in the eHealth Infrastructure, as it ensures that the correct bindings from national registers
Type true
Kind operation

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: OperationDefinition ehealth-patient-create

URL: [base]/Patient/$createPatient

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INcrn1..1Identifier

The social security number of the person on which this operation is executed.

OUTreturn1..1Patient

The Patient resource that has been created on the server or an already created patient

See the wiki for examples on how to use the operation.


Source

{
  "resourceType" : "OperationDefinition",
  "id" : "ehealth-patient-create",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition ehealth-patient-create</b></p><a name=\"ehealth-patient-create\"> </a><a name=\"hcehealth-patient-create\"> </a><a name=\"ehealth-patient-create-da-DK\"> </a><p>URL: [base]/Patient/$createPatient</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>crn</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td><div><p>The social security number of the person on which this operation is executed.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a></td><td/><td><div><p>The Patient resource that has been created on the server or an already created patient</p>\n</div></td></tr></table><div><p>See the wiki for examples on how to use the operation.</p>\n</div></div>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/ehealth-patient-create",
  "version" : "3.5.1",
  "name" : "Create Patient",
  "status" : "active",
  "kind" : "operation",
  "date" : "2019-02-02",
  "publisher" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
  "contact" : [
    {
      "name" : "Den telemedicinske infrastruktur (eHealth Infrastructure)",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://ehealth.sundhed.dk"
        }
      ]
    }
  ],
  "description" : "Creates a Patient resource on the server and returns it in the response. If the patient already exists, it is returned instead. If the CPR number does not match a patient on the service, looks up the CPR in the national registry and finds any potential prior CPRs used by the person. If a prior CPR number matches a patient on the service, updates the patient with national data, and returns a patient with the newest data. NOTE: This means that the returned patient can have a different identifier than the one used for the request. If no prior CPR matches, creates a new patient using national data. If the CPR is invalid, i.e. does not correspond to a patient on the national registry, it errors. \r\n\r\n### Note\r\nThis operation is currently the only way to create Patient resources in the eHealth Infrastructure, as it ensures that the correct bindings from national registers",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "DK",
          "display" : "Denmark"
        }
      ]
    }
  ],
  "code" : "createPatient",
  "comment" : "See the wiki for examples on how to use the operation.",
  "resource" : [
    "Patient"
  ],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [
    {
      "name" : "crn",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "The social security number of the person on which this operation is executed.",
      "type" : "Identifier"
    },
    {
      "name" : "return",
      "use" : "out",
      "min" : 1,
      "max" : "1",
      "documentation" : "The Patient resource that has been created on the server or an already created patient",
      "type" : "Patient"
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.